import request from '@/utils/request'

// 微信登录
export const wxLogin = (data) => {
  return request({
    url: '/api/auth/wxLogin',
    method: 'POST',
    data
  })
}

// 获取用户信息
export const getUserInfo = () => {
  return request({
    url: '/api/auth/wxUserInfo',
    method: 'GET'
  })
} 